package com.ruoyi.system.domain;

import java.sql.Timestamp;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计费管理对象 ds_charging_info
 * 
 * @author ruoyi
 * @date 2024-06-05
 */
public class DsChargingInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计费管理主键ID */
    private Long chargingId;

    /** 起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "起始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Timestamp startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Timestamp endTime;

    /** 收费/小时 */
    @Excel(name = "收费/小时")
    private Long hourlyRate;

    /** 收费率备注 */
    @Excel(name = "收费率备注")
    private String description;

    public void setChargingId(Long chargingId) 
    {
        this.chargingId = chargingId;
    }

    public Long getChargingId() 
    {
        return chargingId;
    }
    public void setStartTime(Timestamp startTime)
    {
        this.startTime = startTime;
    }

    public Timestamp getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Timestamp endTime)
    {
        this.endTime = endTime;
    }

    public Timestamp getEndTime()
    {
        return endTime;
    }
    public void setHourlyRate(Long hourlyRate) 
    {
        this.hourlyRate = hourlyRate;
    }

    public Long getHourlyRate() 
    {
        return hourlyRate;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("chargingId", getChargingId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("hourlyRate", getHourlyRate())
            .append("description", getDescription())
            .toString();
    }
}
